#ifndef __OgreTest2_h_
#define __OgreTest2_h_
#include <OGRE/Ogre.h>

class OgreTest2: public Ogre::FrameListener, public Ogre::WindowEventListener {
public:
	OgreTest2(void);
	virtual ~OgreTest2(void);
	bool start(void);
protected:
	Ogre::Root *mRoot;
	Ogre::RenderWindow* mWindow;
	Ogre::SceneManager* mSceneMgr;
	Ogre::Camera* mCamera;

	virtual void configure(void);
	virtual void setupScene(void);
	virtual bool frameRenderingQueued(const Ogre::FrameEvent& evt);
	virtual void windowClosed(Ogre::RenderWindow* rw);
private:
	Ogre::Real rot;
    Ogre::Real rotate();
};

#endif
